<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery-3.6.3.min.js"></script>
		<script>
			$(function(){
				//隐式迭代
				//$("div").text("这是一个div")
				//$("div").css({"color":"red","height":"300px","border":"10px ridge blue"});
				$("div").text("这是一个div").css({"color":"red","height":"300px","border":"10px ridge blue"});
				$("div:first").text("这是第一个div");
			});
		</script>
	</head>
	<body>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
	</body>
</html>